package com.deuwise.system.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

/**
 * 视图配置地图图层
 *@author deuwise
 *@date 2020-06-08 17:22:29
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("SYS_MAP_LAYERS")
public class SysMapLayers extends Model<SysMapLayers>  implements Serializable{
    /**主键标识*/
    @ApiModelProperty("主键标识")
    @TableField("id")
    private String id;

    /**图层ID*/
    @ApiModelProperty("图层主键")
    @TableField("layer_id")
    private String layerId;

    /**图层内容*/
    @ApiModelProperty("图层内容")
    @TableField("layer_data")
    private JSONObject layerData;

    /**地图视图配置ID*/
    @ApiModelProperty("地图视图配置ID")
    @TableField("map_views_id")
    private String mapViewsId;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}